package com.bw.service;

import com.bw.bean.CourseInfo;
import com.bw.mapper.CourseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author admin
 * @date 2025年09月24日 10:54
 */
@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseMapper courseMapper;

    @Override
    public List<Map<String, Object>> selectAll() {
        return courseMapper.selectAll();
    }

    @Override
    public int insertbath(List<CourseInfo> list) {
        return courseMapper.insertbath(list);
    }

    @Override
    public int deletebath(Integer[] id) {
        return courseMapper.deletebath(id);
    }

    @Override
    public List<Map<String, Object>> select1() {
        return courseMapper.select1();
    }

    @Override
    public List<Map<String, Object>> select2() {
        return courseMapper.select2();
    }

    @Override
    public List<Map<String, Object>> select3() {
        return courseMapper.select3();
    }

    @Override
    public List<Map<String, Object>> select4() {
        return courseMapper.select4();
    }

    @Override
    public List<Map<String, Object>> select5() {
        return courseMapper.select5();
    }

    @Override
    public List<Map<String, Object>> select6() {
        return courseMapper.select6();
    }

    @Override
    public List<Map<String, Object>> select7() {
        return courseMapper.select7();
    }

    @Override
    public List<Map<String, Object>> select8() {
        return courseMapper.select8();
    }
}
